<?php
/**
 * User: aka
 * Date: 2018/6/25
 * Time: 14:56
 */

namespace app\api\validate;


use think\Validate;

class Food extends Validate
{
    protected $rule = [
        'food_name|商品名称'=>'require|max:50',
        'food_classification|商品分类'=>'require|max:30',
        'food_price|商品价格'=>'require|max:30',
        'food_des|商品描述'=>'require'
    ];
}